// 头部
#gm_header {
    background-image: linear-gradient(180deg, #FF6040 0%, #FF8A80 100%);
    box-shadow: 0 .02rem .06rem 0 rgba(255, 149, 128, 0.50);
}

.header {
    padding-left: .1rem;
    height: .4rem;
    display: flex;
    justify-content: space-around;
    align-items: center;

    div {
        &:hover {
            .underline {
                visibility: visible;
            }

            a {
                font-size: .16rem;
                color: #FFFFFF;
                font-weight: 600;
            }
        }

        .underline {
            visibility: hidden;
        }

        a {
            font-family: PingFangSC-Regular;
            font-size: .14rem;
            color: #FFF3F2;
            text-align: center;
            line-height: .16rem;
        }

        &:first-child {
            .underline {
                visibility: visible;
            }

            a {
                font-size: .16rem;
                color: #FFFFFF;
                font-weight: 600;
            }
        }
    }
}

.underline {
    box-sizing: border-box;
    width: .2rem;
    border-bottom: .02rem solid #FFFFFF;
    margin: 0 auto;
    position: relative;
    border-radius: .01rem;
    top: .11rem;
}

// 商品图片
#img {
    height: 3.75rem;
    background-image: url(../images/1.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: .15rem;
    box-sizing: border-box;

    div {
        &:nth-child(1) {
            height: .24rem;
            width: .24rem;
            background: rgba(51, 51, 51, 0.80);
            font-size: .13rem;
            text-align: center;
            line-height: .24rem;
            color: #FFFFFF;
            border-radius: 50% 50%;
        }

        &:nth-child(2) {
            background: rgba(51, 51, 51, 0.80);
            border-radius: .09rem;
            width: .4rem;
            height: .18rem;
            font-family: PingFangSC-Light;
            font-size: .14rem;
            color: #FFFFFF;
            letter-spacing: 0;
            text-align: center;
            line-height: .18rem;
        }
    }
}

// 商品的详细信息
#pice_msg {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #fff;
    padding: .1rem;
    box-sizing: border-box;
    height: 1.45rem;

    .title {
        display: flex;
        justify-content: space-between;

        div {
            &:nth-child(2) {
                width: .30rem;
                height: .24rem;
                font-family: PingFangSC-Light;
                font-size: .1rem;
                color: #FF6040;
                letter-spacing: 0;
                text-align: center;
                line-height: .1rem;

                p {
                    margin-top: .0301rem;
                }
            }
        }
    }

    .pice {
        font-weight: 600;
        font-family: PingFangSC-Semibold;
        font-size: .14rem;
        color: #FF6040;
        line-height: .12rem;

        strong {
            font-size: .3rem;
            color: #FF6040;
            line-height: .24rem;
        }

        del {
            font-size: .14rem;
            color: #999999;
            line-height: .12rem;
            margin-left: .05rem;
        }
    }

    .message {
        h2 {
            font-family: PingFangSC-Regular;
            font-size: .16rem;
            color: #333333;
            line-height: .16rem;
            font-weight: 600;
        }

        h3 {
            font-family: PingFangSC-Regular;
            font-size: .14rem;
            color: #999999;
            line-height: .14rem;
            margin-top: .04rem;
        }
    }

    .discount {
        display: inline-block;
        align-self: flex-start;
        padding: 0 .03rem;
        height: .16rem;
        background: #FF8066;
        font-family: PingFangSC-Light;
        font-size: .1rem;
        color: #FFFFFF;
        line-height: .1615rem;
    }

    .msg_time {
        background: #F2F2F2;
        height: .2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: PingFangSC-Light;
        font-size: .1rem;
        color: #999999;

        p {
            &:nth-child(2) {
                width: .48rem;
                font-family: PingFangSC-Medium;
                font-size: .1rem;
                font-weight: 600;
                text-align: right;

                a {
                    color: #FF6040;
                }
            }
        }
    }
}

// 购买选项
#option {
    margin-top: .1rem;
    padding: .1rem 0 0 .1rem;
    background-color: #fff;
    .ticket {
        div {
            &:nth-child(1) {
                font-family: PingFangSC-Semibold;
                font-size: .12rem;
                color: #333333;
                line-height: .35rem;
                font-weight: 600;
                height: .35rem;
            }

            &:nth-child(2) {
                width: 3.2rem;
                border-bottom: .01rem solid #ccc;
                display: flex;
                margin-left: .2rem;
                align-items: center;
                height: .35rem;
                p {
                    padding: 0 .1rem;
                    height: .16rem;
                    line-height: .16rem;
                    background-image: url(../images/full.png);
                    background-repeat: no-repeat;
                    background-size: contain;
                    margin-right: .1rem;
                    font-family: PingFangSC-Semibold;
                    font-size: .1rem;
                    color: #663014;
                    ;
                }
            }
        }
    }
}

//底部
#gm_footer{
    position: fixed;
    bottom: 0;
    left: 0;
    height: .5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    .foot_left{
        width: calc(100% - 2.2rem);
        display: flex;
        justify-content: space-evenly;
        div{
            height: .35rem;
            width: .5rem;
            img{
                width: .2rem;
                height: .2rem;
                display: block;
            }
            p{
                margin-top: .05rem;
                font-family: PingFangSC-Light;
                font-size: .1rem;
                color: #333333;
                text-align: center;
                line-height: .1rem;
            }
        }
    }
    .foot_right{
        display: flex;
        div{
            width: 1.1rem;
            height: .5rem;
            &:nth-child(1){
                font-family: PingFangSC-Semibold;
                font-size: .16rem;
                color: #663014;
                text-align: center;
                line-height: .5rem;
                background: #FFCC66;
                font-weight: 700;
            }
            &:nth-child(2){
                font-weight: 600;
                font-family: PingFangSC-Semibold;
                font-size: .16rem;
                color: #FFFFFF;
                text-align: center;
                line-height: .5rem;
                background: #FF6040;
            }
        }
    }
}